The Joy of Computing using Python - July 2026
Please scroll down for latest Programs 👇
Code compiled and tested successfully!
Due date on 2026-08-14, 23:59 IST
Complete Program
# --- START OF SOLUTION CODE ---
times = list(map(float, input().split()))
print(min(times))
# --- END OF SOLUTION CODE ---
Code Snippet to Paste in the Editor
# --- START OF SOLUTION CODE ---
times = list(map(float, input().split()))
print(min(times))
# --- END OF SOLUTION CODE ---
This assignment has Public Test cases. Please click on "Compile & Run" button to see the status of Public test cases. Assignment will be evaluated only after submitting using Submit button below. If you only save as or compile and run the Program, your assignment will not be graded and you will not see your score after the deadline.
Evaluation Results
Note: These tests may not be considered while scoring.
Due date on 2026-08-14, 23:59 IST
Complete Program
# --- START OF SOLUTION CODE ---
temps = input().split()
print(sum(int(float(x)) for x in temps))
# --- END OF SOLUTION CODE ---
Code Snippet to Paste in the Editor
# --- START OF SOLUTION CODE ---
temps = input().split()
print(sum(int(float(x)) for x in temps))
# --- END OF SOLUTION CODE ---
This assignment has Public Test cases. Please click on "Compile & Run" button to see the status of Public test cases. Assignment will be evaluated only after submitting using Submit button below. If you only save as or compile and run the Program, your assignment will not be graded and you will not see your score after the deadline.
Evaluation Results
Note: These tests may not be considered while scoring.
Due date on 2026-08-14, 23:59 IST
Complete Program
# --- START OF SOLUTION CODE ---
weights = list(map(float, input().split()))
avg = sum(weights) / len(weights)
print(sum(1 for w in weights if w > avg))
# --- END OF SOLUTION CODE ---
Code Snippet to Paste in the Editor
# --- START OF SOLUTION CODE ---
weights = list(map(float, input().split()))
avg = sum(weights) / len(weights)
print(sum(1 for w in weights if w > avg))
# --- END OF SOLUTION CODE ---
This assignment has Public Test cases. Please click on "Compile & Run" button to see the status of Public test cases. Assignment will be evaluated only after submitting using Submit button below. If you only save as or compile and run the Program, your assignment will not be graded and you will not see your score after the deadline.
Evaluation Results
Note: These tests may not be considered while scoring.
No comments:
Post a Comment
Keep your comments reader friendly. Be civil and respectful. No self-promotion or spam. Stick to the topic. Questions welcome.